package com.smz.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smz.entity.TReservoir;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TReservoirDAO extends BaseMapper<TReservoir> {


    /**
     * 按仓库Id查询库区
     * @param tMenuId
     * @return
     */
    List<TReservoir> selectTReservoirByTMenuId(@Param("tMenuId") Integer tMenuId);
    //dy
    TReservoir findByGoodsId(Integer goodsNo);
    //货架功能
    List<TReservoir> findAllReservoir(Integer wareId);

    /**
     * @Authoe: smz
     * @Description: 仓库id查询货区
     * @Date: 15:14 2021-11-24
     */
    List<TReservoir> selectTReservoirByWareNo(@Param("id")Integer id);

}
